package com.thitech.sif.slog;

import java.util.Date;

/***********************************************************************
 * Module:  SLog.java
 * Author:  shisheng.lian
 * Purpose: Defines the Class SLog
 ***********************************************************************/

/**
 * 服务调用日志类实体
 * 
 * @author shisheng.lian
 * 
 */
public final class SLog {
	/**
	 * 主键ID
	 */
	private String id;
	/**
	 * ticket流水号
	 */
	private String ticket;
	/**
	 * 业务ID
	 */
	private String businessId;
	/**
	 * 系统名称
	 */
	private String systemName;
	/**
	 * 服务名称
	 */
	private String serviceName;
	/**
	 * 服务执行状态
	 */
	private String state;
	/**
	 * 服务执行时间
	 */
	private Date invokeDateTime;
	/**
	 * 服务调用次数
	 */
	private int invokeTimes;
	/**
	 * 服务类型，参考SLogFactory中的SERVICE_TYPE_*字段
	 */
	private String serviceType;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTicket() {
		return ticket;
	}

	public void setTicket(String ticket) {
		this.ticket = ticket;
	}

	public String getBusinessId() {
		return businessId;
	}

	public void setBusinessId(String businessId) {
		this.businessId = businessId;
	}

	public String getSystemName() {
		return systemName;
	}

	public void setSystemName(String systemName) {
		this.systemName = systemName;
	}

	public String getServiceName() {
		return serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Date getInvokeDateTime() {
		return invokeDateTime;
	}

	public void setInvokeDateTime(Date invokeDateTime) {
		this.invokeDateTime = invokeDateTime;
	}

	public int getInvokeTimes() {
		return invokeTimes;
	}

	public void setInvokeTimes(int invokeTimes) {
		this.invokeTimes = invokeTimes;
	}

	public String getServiceType() {
		return serviceType;
	}

	public void setServiceType(String serviceType) {
		this.serviceType = serviceType;
	}

}